export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/shoppage/index',
    'pages/mypage/index',
    'pages/orderList/index',
  ],
  subPackages: [
    {
      'root': 'packageA',
      'pages': [
        'pages/productDetail/index',
        'pages/confirmOrder/index',
        'pages/addressList/index',
        'pages/writeAddress/index',
        'pages/confirmPay/index',
        'pages/orderDetail/index',
        'pages/selfInfo/index',
        'pages/feedback/index',
        'pages/integral/index',
        'pages/integralDetail/index',
        'pages/couponList/index',
        'pages/recharge/index',
        'pages/collectPage/index',
        'pages/useGoods/index',
        'pages/invite/index',
        'pages/rewards/index',
        'pages/changeIntegral/index',
        'pages/petID/index',
        'pages/petIDList/index',
        'pages/promotion/index',
        'pages/active/index',
        'pages/question/index',
        'pages/vip/index',
        'pages/distributList/index',
        'pages/goodsList/index',
        'pages/hot/index',
        'pages/evaluate/index',
        'pages/sureBtn/index',
        'pages/empty/index'
      ],
      plugins: {
        logisticsPlugin: {
          "version": "2.2.28",
          "provider": "wx9ad912bf20548d92"
        }
      },
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#F7FBFF',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
    enablePullDownRefresh: true,
    onReachBottomDistance: 50,
  },
  tabBar: {
    color: '#7d7e80',
    backgroundColor: '#ffffff',
    selectedColor: '#93FBD1',
    borderStyle: 'black',
    list: [{
      text: '首页',
      pagePath: 'pages/index/index',
      iconPath: './assets/home.png',
      selectedIconPath: './assets/home_s.png'
    }, {
      text: '商城',
      pagePath: 'pages/shoppage/index',
      iconPath: './assets/shop.png',
      selectedIconPath: './assets/shop_s.png'
    },
    {
      text: '订单',
      pagePath: 'pages/orderList/index',
      iconPath: './assets/order.png',
      selectedIconPath: './assets/order_s.png'
    },
    {
      text: '我的',
      pagePath: 'pages/mypage/index',
      iconPath: './assets/my.png',
      selectedIconPath: './assets/my_s.png'
    }
    ],
    position: 'bottom'
  },
  // plugins: {
  //   logisticsPlugin: {
  //     "version": "2.2.28",
  //     "provider": "wx9ad912bf20548d92"
  //   }
  // }
})
